//
//  TeamNameCell.m
//  Shengzhuli
//
//  Created by FXGuo on 17/3/26.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "TeamNameCell.h"

@interface TeamNameCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLab;
@property (weak, nonatomic) IBOutlet UILabel *numLab;

@end

@implementation TeamNameCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(TeamModel *)model
{
    _model = model;
    self.nameLab.text = model.roleName;
    self.numLab.text = [NSString stringWithFormat:@"%zd人",model.num];
}

@end
